home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enciclopedia Del Perro
/
Enciclopedia Del Perro.iso
/
win
/
tfw115c1
/
tfw.5
/
PATH.SLT
< prev
next >
Wrap
Text File
|
1996-04-15
|
1KB
|
22 lines
/****************************************************************/
/* */
/* Demo of how to use and manipulate the DOS path and current */
/* directory used by the TFW application (not other apps). */
/* */
/* Copyright 1995 deltaComm Development, Inc. */
/* */
/****************************************************************/
main()
{
str ss[30], st[30];
inputbox("", "Filename: ", st); // Get filename from user
fnstrip(st, 12, ss); // Strip user input to PATH only
printsc("Path = ");
prints(ss); // Display the results
fnstrip(st, 11, ss); // Strip user input to extention only
if (ss="slt") // If the user named SALT source file
compilescript(st); // then compile it!
}